import { defineComponent } from "vue";
import Page from "@/components/Page/Page";
import { useRouter } from "vue-router";
export default defineComponent({
  setup() {
    const router = useRouter();
    return () => (
      <Page style="display: flex; flex-direction: column;align-items: center; justify-content: center; height: 100%; background: rgb(236, 236, 236); overflow: hidden;">
        <svg-icon name="404" style="width: 600px;height: 600px;" />
        <a-button onClick={() => { router.replace('/') }} style={{ width: '600px' }} type="primary">返回首页</a-button>
      </Page>
    )
  }
})